Only build testfontchooserdialog on linux
authorMatthias Clasen <mclasen@redhat.com>
Sun, 14 Jun 2015 03:00:41 +0000 (23:00 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 14 Jun 2015 03:00:41 +0000 (23:00 -0400)
We are using this to test pango functionality that
uses fontconfig apis, so this doesn't build on OS X
or Windows anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=750892

tests/Makefile.am

index d5c40b84481e9d17146d5a528f941c805b04f374..95ac80fffe389d9190a36f0d6c20139ea71685f3 100644 (file)
@@ -26,6 +26,10 @@ if USE_X11
 testsocket_programs = testsocket testsocket_child
 endif
 
+if OS_LINUX
+fontconfig_programs = testfontchooserdialog
+endif
+
 noinst_PROGRAMS =  $(TEST_PROGS)       \
        overlayscroll                   \
        syncscroll                      \
@@ -68,7 +72,7 @@ noinst_PROGRAMS =  $(TEST_PROGS)      \
        testfontselection               \
        testfontselectiondialog         \
        testfontchooser                 \
-       testfontchooserdialog           \
+       $(fontconfig_programs)          \
        testframe                       \
        testfullscreen                  \
        testgeometry                    \